package com.day16.Map;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public class MapDemo03 {
    public static void main(String[] args) {
        Map<String,String>map=new HashMap<String,String>();
        map.put("张无忌","林青霞");
        map.put("郭靖","张曼玉");
        map.put("杨过","王祖贤");
        Collection<String>values=map.values();
        for(String value:values){
            System.out.println(value);
        }
    }
}
